package game.gui;

import java.awt.Color;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.LineBorder;

public class Category extends JPanel {
	/**
	 * Category represents labels with 5 different categories,
	 * which you can "collect" by answering questions right.
	 */
	private static final long serialVersionUID = 1L;
	private Color color;
	public Category(String s, Color c){
		color = c;
		setBackground(c);
		add(new JLabel(s));
		setSize(60, 60);
		setBorder(new LineBorder(new Color(220, 20, 60)));
	}
}
